\hypertarget{adjlistgraph__test_8h}{}\section{src/graph\+\_\+algorithms/basic\+\_\+graph/graph\+\_\+representation/adjlist\+\_\+graph/adjlistgraph\+\_\+test.h File Reference}
\label{adjlistgraph__test_8h}\index{src/graph\+\_\+algorithms/basic\+\_\+graph/graph\+\_\+representation/adjlist\+\_\+graph/adjlistgraph\+\_\+test.\+h@{src/graph\+\_\+algorithms/basic\+\_\+graph/graph\+\_\+representation/adjlist\+\_\+graph/adjlistgraph\+\_\+test.\+h}}
{\ttfamily \#include \char`\"{}src/google\+\_\+test/gtest.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}adjlistgraph.\+h\char`\"{}}\\*
{\ttfamily \#include $<$memory$>$}\\*
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{class_graph_a_d_j_list_test}{Graph\+A\+D\+J\+List\+Test}
\begin{DoxyCompactList}\small\item\em \hyperlink{class_graph_a_d_j_list_test}{Graph\+A\+D\+J\+List\+Test}\+:测试类，用于为测试提供基础数据 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \hyperlink{namespaceanonymous__namespace_02adjlistgraph__test_8h_03}{anonymous\+\_\+namespace\{adjlistgraph\+\_\+test.\+h\}}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{adjlistgraph__test_8h_a28b81e39dcdcd1b8a9d1d3127b635b68}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_graph_a_d_j_list_test}{Graph\+A\+D\+J\+List\+Test}, test\+\_\+weight)
\begin{DoxyCompactList}\small\item\em adjlist\+\_\+graph\+\_\+test\+:测试\+A\+D\+J\+List\+Graph \end{DoxyCompactList}\item 
\hyperlink{adjlistgraph__test_8h_adffd83a26d2960a12f51e6b93c734c46}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_graph_a_d_j_list_test}{Graph\+A\+D\+J\+List\+Test}, test\+\_\+has\+\_\+edge)
\begin{DoxyCompactList}\small\item\em adjlist\+\_\+graph\+\_\+test\+:测试\+A\+D\+J\+List\+Graph \end{DoxyCompactList}\item 
\hyperlink{adjlistgraph__test_8h_ab40ba8fbda34fb88e38fe419ee0fc705}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_graph_a_d_j_list_test}{Graph\+A\+D\+J\+List\+Test}, test\+\_\+add\+\_\+edge)
\begin{DoxyCompactList}\small\item\em adjlist\+\_\+graph\+\_\+test\+:测试\+A\+D\+J\+List\+Graph \end{DoxyCompactList}\item 
\hyperlink{adjlistgraph__test_8h_a36f4e52ba65c2e5bc501e631687de66e}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_graph_a_d_j_list_test}{Graph\+A\+D\+J\+List\+Test}, test\+\_\+add\+\_\+edges)
\begin{DoxyCompactList}\small\item\em adjlist\+\_\+graph\+\_\+test\+:测试\+A\+D\+J\+List\+Graph \end{DoxyCompactList}\item 
\hyperlink{adjlistgraph__test_8h_a5c2d014221c2625aa6658f2c059ea7dc}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_graph_a_d_j_list_test}{Graph\+A\+D\+J\+List\+Test}, test\+\_\+adjust\+\_\+edge)
\begin{DoxyCompactList}\small\item\em adjlist\+\_\+graph\+\_\+test\+:测试\+A\+D\+J\+List\+Graph \end{DoxyCompactList}\item 
\hyperlink{adjlistgraph__test_8h_a8060f1785ccafa43adb7cc6a12cc20cd}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_graph_a_d_j_list_test}{Graph\+A\+D\+J\+List\+Test}, test\+\_\+edge\+\_\+tuples)
\begin{DoxyCompactList}\small\item\em adjlist\+\_\+graph\+\_\+test\+:测试\+A\+D\+J\+List\+Graph \end{DoxyCompactList}\item 
\hyperlink{adjlistgraph__test_8h_acb9b9fedae51da94a0e9ca57b7457e28}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_graph_a_d_j_list_test}{Graph\+A\+D\+J\+List\+Test}, test\+\_\+vertex\+\_\+edge\+\_\+tuples)
\begin{DoxyCompactList}\small\item\em adjlist\+\_\+graph\+\_\+test\+:测试\+A\+D\+J\+List\+Graph \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
const int \hyperlink{namespaceanonymous__namespace_02adjlistgraph__test_8h_03_a398e679d6fa790bc3ff7d6a7c92a7d74}{anonymous\+\_\+namespace\{adjlistgraph\+\_\+test.\+h\}\+::\+A\+D\+J\+\_\+\+N\+U\+M} =10
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{adjlistgraph__test_8h_a28b81e39dcdcd1b8a9d1d3127b635b68}{}\index{adjlistgraph\+\_\+test.\+h@{adjlistgraph\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!adjlistgraph\+\_\+test.\+h@{adjlistgraph\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Graph\+A\+D\+J\+List\+Test, test\+\_\+weight)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Graph\+A\+D\+J\+List\+Test}}]{, }
\item[{test\+\_\+weight}]{}
\end{DoxyParamCaption}
)}\label{adjlistgraph__test_8h_a28b81e39dcdcd1b8a9d1d3127b635b68}


adjlist\+\_\+graph\+\_\+test\+:测试\+A\+D\+J\+List\+Graph 

测试{\ttfamily weight}方法成员。 

Definition at line 51 of file adjlistgraph\+\_\+test.\+h.

\hypertarget{adjlistgraph__test_8h_adffd83a26d2960a12f51e6b93c734c46}{}\index{adjlistgraph\+\_\+test.\+h@{adjlistgraph\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!adjlistgraph\+\_\+test.\+h@{adjlistgraph\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Graph\+A\+D\+J\+List\+Test, test\+\_\+has\+\_\+edge)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Graph\+A\+D\+J\+List\+Test}}]{, }
\item[{test\+\_\+has\+\_\+edge}]{}
\end{DoxyParamCaption}
)}\label{adjlistgraph__test_8h_adffd83a26d2960a12f51e6b93c734c46}


adjlist\+\_\+graph\+\_\+test\+:测试\+A\+D\+J\+List\+Graph 

测试{\ttfamily has\+\_\+edge}方法成员。 

Definition at line 63 of file adjlistgraph\+\_\+test.\+h.

\hypertarget{adjlistgraph__test_8h_ab40ba8fbda34fb88e38fe419ee0fc705}{}\index{adjlistgraph\+\_\+test.\+h@{adjlistgraph\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!adjlistgraph\+\_\+test.\+h@{adjlistgraph\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Graph\+A\+D\+J\+List\+Test, test\+\_\+add\+\_\+edge)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Graph\+A\+D\+J\+List\+Test}}]{, }
\item[{test\+\_\+add\+\_\+edge}]{}
\end{DoxyParamCaption}
)}\label{adjlistgraph__test_8h_ab40ba8fbda34fb88e38fe419ee0fc705}


adjlist\+\_\+graph\+\_\+test\+:测试\+A\+D\+J\+List\+Graph 

测试{\ttfamily add\+\_\+edge}方法成员。 

Definition at line 78 of file adjlistgraph\+\_\+test.\+h.

\hypertarget{adjlistgraph__test_8h_a36f4e52ba65c2e5bc501e631687de66e}{}\index{adjlistgraph\+\_\+test.\+h@{adjlistgraph\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!adjlistgraph\+\_\+test.\+h@{adjlistgraph\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Graph\+A\+D\+J\+List\+Test, test\+\_\+add\+\_\+edges)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Graph\+A\+D\+J\+List\+Test}}]{, }
\item[{test\+\_\+add\+\_\+edges}]{}
\end{DoxyParamCaption}
)}\label{adjlistgraph__test_8h_a36f4e52ba65c2e5bc501e631687de66e}


adjlist\+\_\+graph\+\_\+test\+:测试\+A\+D\+J\+List\+Graph 

测试{\ttfamily add\+\_\+edges}方法成员。 

Definition at line 98 of file adjlistgraph\+\_\+test.\+h.

\hypertarget{adjlistgraph__test_8h_a5c2d014221c2625aa6658f2c059ea7dc}{}\index{adjlistgraph\+\_\+test.\+h@{adjlistgraph\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!adjlistgraph\+\_\+test.\+h@{adjlistgraph\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Graph\+A\+D\+J\+List\+Test, test\+\_\+adjust\+\_\+edge)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Graph\+A\+D\+J\+List\+Test}}]{, }
\item[{test\+\_\+adjust\+\_\+edge}]{}
\end{DoxyParamCaption}
)}\label{adjlistgraph__test_8h_a5c2d014221c2625aa6658f2c059ea7dc}


adjlist\+\_\+graph\+\_\+test\+:测试\+A\+D\+J\+List\+Graph 

测试{\ttfamily adjust\+\_\+edge}方法成员。 

Definition at line 117 of file adjlistgraph\+\_\+test.\+h.

\hypertarget{adjlistgraph__test_8h_a8060f1785ccafa43adb7cc6a12cc20cd}{}\index{adjlistgraph\+\_\+test.\+h@{adjlistgraph\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!adjlistgraph\+\_\+test.\+h@{adjlistgraph\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Graph\+A\+D\+J\+List\+Test, test\+\_\+edge\+\_\+tuples)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Graph\+A\+D\+J\+List\+Test}}]{, }
\item[{test\+\_\+edge\+\_\+tuples}]{}
\end{DoxyParamCaption}
)}\label{adjlistgraph__test_8h_a8060f1785ccafa43adb7cc6a12cc20cd}


adjlist\+\_\+graph\+\_\+test\+:测试\+A\+D\+J\+List\+Graph 

测试{\ttfamily edge\+\_\+tuples}方法成员。 

Definition at line 139 of file adjlistgraph\+\_\+test.\+h.

\hypertarget{adjlistgraph__test_8h_acb9b9fedae51da94a0e9ca57b7457e28}{}\index{adjlistgraph\+\_\+test.\+h@{adjlistgraph\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!adjlistgraph\+\_\+test.\+h@{adjlistgraph\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Graph\+A\+D\+J\+List\+Test, test\+\_\+vertex\+\_\+edge\+\_\+tuples)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Graph\+A\+D\+J\+List\+Test}}]{, }
\item[{test\+\_\+vertex\+\_\+edge\+\_\+tuples}]{}
\end{DoxyParamCaption}
)}\label{adjlistgraph__test_8h_acb9b9fedae51da94a0e9ca57b7457e28}


adjlist\+\_\+graph\+\_\+test\+:测试\+A\+D\+J\+List\+Graph 

测试{\ttfamily vertex\+\_\+edge\+\_\+tuples}方法成员。 

Definition at line 156 of file adjlistgraph\+\_\+test.\+h.

